PEGetGraphOptions4

The PEGetGraphOptions4 function was specially designed to accept VB's native 4-byte aligned "Types." It identifies the display options that are set for the specified graph in the specified section. Use this function to obtain information about any of several graph options. These options include the minimum and maximum values that can appear on the graph, whether grid lines appear, whether risers are labeled, whether bar graphs have horizontal or vertical bars, and whether a legend appears on the graph.

Declare Function PEGetGraphOptions4 Lib "crwrap32.dll" (ByVal printJob 
As Integer, ByVal sectionCode As Integer, ByVal GraphN As Integer, 
GraphOptions As PEGraphOptions4) As Integer
Parameters

printJob

Specifies the handle of the print job from which you want to get information about a graph.

sectionCode

Specifies the code for the report section in which the graph appears. See the table of section constants supplied with Working with section codes.

GraphN

Specifies which graph within the section you want information about. This value is 0 indexed. Within a section, graphs are numbered from top to bottom first, then from left to right if they have the same top.

GraphOptions

Specifies the pointer to the PEGraphOptions4 structure.

Return Value

TRUE (1) if the call is successful, FALSE (0) if the call fails.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com